﻿@model HdipCricketClub.Models.Club

@{
    ViewBag.Title = "Delete";
}

<h2>Delete Club:</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>Club</legend>

    <div class="display-label">@Html.LabelFor(model => model.name)</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.name)
    </div>

    <div class="display-label">@Html.LabelFor(model => model.address_1)</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.address_1)
    </div>

    <div class="display-label">@Html.LabelFor(model => model.address_2)</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.address_2)
    </div>

    <div class="display-label">@Html.LabelFor(model => model.town_city)</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.town_city)
    </div>

    <div class="display-label">County:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.County1.name)
    </div>

    <div class="display-label">@Html.LabelFor(model => model.phone)</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.phone)
    </div>

    <div class="display-label">@Html.LabelFor(model => model.email)</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.email)
    </div>

    <div class="display-label">President:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Member.FirstAndLastName)
    </div>

    <div class="display-label">Chairman:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Member1.FirstAndLastName)
    </div>

    <div class="display-label">Secretary:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Member2.FirstAndLastName)
    </div>

    <div class="display-label">Fixtures Secretary:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Member3.FirstAndLastName)
    </div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}
